#!/bin/bash

MOUNTPOINT=$1

for batch in {8..16}
do

for skip in {0..511}
do

for count in {1..16}
do

./readwrite $MOUNTPOINT $batch $skip $count
if [ "$?" -ne "0" ]; then
 exit -1  
fi

done
done
done

exit 0
